home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / uniq < prev    next >
Text File  |  2001-03-21  |  594b  |  23 lines

  1. Synopsis:
  2.    $uniq(<list of words>)
  3.  
  4. Technical:
  5.    This function takes an arbitrary list of arguments and returns all that
  6.    are unique.  The output is in the same order as the input, using the
  7.    first occurrence of each word.
  8.  
  9. Practical:
  10.    This function is useful for weeding out duplicates from a list of words
  11.    (such as a list of nicknames for a tabscript).
  12.  
  13. Returns:
  14.    list of unique words from input list
  15.  
  16. Examples:
  17.    $uniq(one two three two one)       returns "one two three"
  18.    $uniq(blah blah blah)              returns "blah"
  19.  
  20. See Also:
  21.    remw(6); remws(6);
  22.  
  23.